<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

  <script src="./axios.js"></script>

  <script>
    let p1 = axios.get('http://www.liulongbin.top:3006/api/getbooks');
    let p2 = axios.get('http://www.liulongbin.top:3006/api/news');
    let p3 = axios.get('http://www.liulongbin.top:3006/api/cmtlist');


    // async function abc() {
    //   let r1 = await p1;
    //   let r2 = await p2;
    //   let r3 = await p3;
    //   console.log(r1);
    //   console.log(r2);
    //   console.log(r3);
    // }
    // abc();

  </script>

</body>

</html>